package org.aeon.heroicsagatextedition.role.factory;

import org.aeon.heroicsagatextedition.role.product.Hero;
import org.aeon.heroicsagatextedition.role.product.RoleUnit;

/**
 * @projectName: HeroicSagaTextEdition
 * @package: org.aeon.heroicsagatextedition.role
 * @className: HeroFactory
 * @author: MissingAeon
 * @date: 2023/12/22 14:38
 * @description: 英雄角色创建工厂
 */
public class HeroFactory implements RoleUnitFactory {

    @Override
    public RoleUnit createRoleUnit(String name) {
        return new Hero(name);
    }
}
